package com.cloudbroker.bcs.platform.dav.bizapi.service.business.customer.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.Mobile;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.common.validatioin.annotation.Password;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.HSBCPSVO;

public class PasswordLoginByTenantForm extends HSBCPSVO {
    
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    
    @NotBlank
    @Length(max = 32)
    protected String tenant_key;
    
    @NotBlank
    @Mobile
    protected String mobile;
    
    @NotBlank
    @Password
    protected String password;
    
    public String getTenant_key() {
        return tenant_key;
    }
    
    public void setTenant_key(String tenant_key) {
        this.tenant_key = tenant_key;
    }
    
    public String getMobile() {
        return mobile;
    }
    
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    
    public String getPassword() {
        return password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }
    
    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("PasswordLoginByTenantForm [tenant_key=").append(tenant_key).append(", mobile=")
                .append(mobile).append(", password=").append(password).append("]");
        return builder.toString();
    }
    
}
